<!DOCTYPE html>
<html>
  <body>
    <button id="btn" onclick="alert('this is an alert')">alert</button>
  </body>
</html>
